package cn.core.sign.service.intf;

import cn.core.sign.eo.PostStaff;
import cn.core.sign.qo.PostStaffQO;
import cn.core.sign.vo.PostStaffVO;
import cn.core.tool.util.Paging;
import cn.core.tool.util.Param;

import java.util.Collection;

/**
 * 岗位员工 服务接口
 */
public interface IPostStaffService {

  /**
   * 岗位员工 >>> 保存
   */
  public PostStaff save(PostStaff eo) throws Exception;

  /**
   * 岗位员工 >>> 批量保存
   */
  public Collection<PostStaff> saveBatch(Collection<PostStaff> eos) throws Exception;

  /**
   * 岗位员工 >>> 修改
   */
  public PostStaff update(PostStaff eo) throws Exception;

  /**
   * 岗位员工 >>> 批量修改
   */
  public Collection<PostStaff> updateBatch(Collection<PostStaff> eos) throws Exception;

  /**
   * 岗位员工 >>> 删除
   */
  public void remove(PostStaff eo) throws Exception;

  /**
   * 岗位员工 >>> 批量删除
   */
  public void removeBatch(Collection<PostStaff> eos) throws Exception;

  /**
   * 岗位员工 >>> 数据量
   */
  public Long count(PostStaffQO qo) throws Exception;

  /**
   * 岗位员工 >>> 主键查询
   */
  public PostStaff pk(PostStaffQO qo) throws Exception;

  /**
   * 岗位员工 >>> 查询
   */
  public Collection<PostStaff> query(PostStaffQO qo) throws Exception;

  /**
   * 岗位员工 >>> 分页
   */
  public Paging<PostStaff> paging(Param<PostStaffQO> param) throws Exception;

  /**
   * 岗位员工 >>> 业务数据量
   */
  public Long countVo(PostStaffQO qo) throws Exception;

  /**
   * 岗位员工 >>> 业务主键查询
   */
  public PostStaffVO pkVo(PostStaffQO qo) throws Exception;

  /**
   * 岗位员工 >>> 业务查询
   */
  public Collection<PostStaffVO> queryVo(PostStaffQO qo) throws Exception;

  /**
   * 岗位员工 >>> 业务分页
   */
  public Paging<PostStaffVO> pagingVo(Param<PostStaffQO> param) throws Exception;

}
